package com.steam.xbcc.constans;

public class GrowScoreConstant {
    /**
     * 等级
     */
    public static final Integer LEVEL_BRONZE = 0;
    public static final Integer LEVEL_SILVER = 1;
    public static final Integer LEVEL_GOLD = 2;
    public static final Integer LEVEL_PLATINUM = 3;
    public static final Integer LEVEL_DIAMONDS = 4;
    public static final Integer LEVEL_MASTER = 5;
    public static final Integer LEVEL_KING = 6;

    /**
     * 来源
     */
    public static final String GROW_SCORE_FROM_REGISTER = "推荐人注册成功";
    public static final String GROW_SCORE_FROM_REFER = "推荐人购课成功";
    public static final String GROW_SCORE_FROM_RECHARGE = "充值金额";

    public static final Integer GROW_SCORE_REFER_REGISTER = 10;
    public static final Double GROW_SCORE_RATIO_FROM_REFER_BUY_COURSE = 0.03;
    public static final Double GROW_SCORE_RATIO_FROM_RECHARGE = 0.05;
    // 向下取整
    public static final Integer GROW_SCORE_ROUNDING_METHOD = 0;
}